<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
    <div class="content">

    </div>
</body> 
<script>
    $.ajax({
        url:"haha.json",
        success:function(res){
            console.log(res);
            // console.log(res.showapi_res_body.contentlist);
            var xh = res.showapi_res_body.contentlist;
            console.log(xh);
            var title = xh[0].title;
            var text = xh[0].text;
            var str = `
                <h2>${title}</h2>
                <div>${text}</div>
            `;
            
            $(".content").html(str)
        }
    })
</script>
</html>